# encoding: utf-8
"""
@author: 夏洛
@QQ: 1972386194
@file: boss.py
"""
import requests

def get_index():

    url = 'https://www.zhipin.com/wapi/zpgeek/search/joblist.json?scene=1&query=%E7%88%AC%E8%99%AB&city=100010000&experience=&degree=&industry=&scale=&stage=&position=&salary=&multiBusinessDistrict=&page=2&pageSize=30'
    headers = {
        "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
        "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36"
    }
    res = requests.get(url,headers=headers)
    print(res.text)

get_index()



